home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
editor
/
editor2
/
wordmani.lha
/
WordMania
/
Install
< prev
next >
Wrap
Text File
|
1996-09-07
|
2KB
|
72 lines
; $VER: WordMania_Install 1.0 (29/08/96)
;
; WordMania Installation Script
; Coded By Vex /Shoah.
;
; ****************************************************************************
; ***************************
; Initialise
; ***************************
(set PROGVER "1.0")
(set NOWB (cat "\n\'WordMania\'\nWordMania has only been tested on\n"
" Workbench 3.0, however it may work on Workbench 2.0\n"
" Your computer does not appear to meet this requirement.\n"
" Are you sure you wish to continue?"
)
)
(set INSTWHERE (cat "Where do you wish to install WordMania?\n"
"A new directory called \'WordMania\' will be created for you.") )
(set ABORTINSTALL (cat "Install aborted. Due to incorrect workbench version"))
; ***************************
; Install start
; ***************************
; Check if we've got the right Workbench version
(welcome (cat "Installation procedure for WordMania" PROGVER))
(set OSVER ( / (getversion ) 65536 ) )
(if ( < OSVER 36)
(if (NOT (askbool (prompt NOWB) (default 0) (choices "Proceed" "Cancel") ) )
(abort ABORTINSTALL)
)
)
(if (> @user-level 0)
; Which directory
(set INSTDIR (askdir (prompt INSTWHERE) (help @askdir-help) (default @default-dest)))
; else
(set INSTDIR @default-dest)
)
; Create it
(makedir (set INSTDIR (tackon INSTDIR "WordMania") ) )
; Install 'em...
(copyfiles
(prompt "Which files do you wish to install?")
(help @copyfiles-help)
(source "")
(choices
"WordMania"
"Dictionary"
"WordMania.Guide"
"SHOAH.Guide"
)
(dest INSTDIR)
(infos)
(confirm)
(infos)
)
; All done...
(set @default-dest INSTDIR)
(exit)